<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title><s:text name="辅助属性组" />
		</title>
		<link rel="stylesheet" type="text/css" href="css/public.css">
		<script type="text/javascript" src="js/sorttable.js"></script>
		<script language="JavaScript" src="js/public.js"></script>
		<script type="text/javascript" src="js/date1.js"></script>
		<script type="text/javascript" src="js/checkboxSelect.js"></script>
	</head>
	<body>
		<div id="info_all">
			<div id="info_top">
				<s:text name="辅助属性组"></s:text>
			</div>
			<!-- 主输入区 -->
			<!-- 功能按钮 -->
			
			<div id="info_main">
				<s:form action="attributeType!search.action" method="post"
					theme="simple">
					<div id="select">
						<hr>
						<table>
							<tr>
								<td>
									<s:text name="代码"></s:text>
									&nbsp;
								</td>
								<td>
									<s:textfield name="typeModel.assistantAttributeTypeCode"
										size="12" />
									&nbsp;&nbsp;&nbsp;
								</td>
								<td>
									<s:text name="名称"></s:text>
									&nbsp;
								</td>
								<td>
									<s:textfield name="typeModel.assistantAttributeTypeName"
										size="12" />
									&nbsp;&nbsp;&nbsp;
								</td>
							</tr>
						</table>
					</div>
					<div class="sele">
						<s:submit value="查询" onfocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" id="btnsize"></s:submit>
						<input type="reset" value="重置" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />
						<hr>
					</div>
				</s:form>
				<!-- 信息显示栏 -->
				<div id="info_info0">
					<table id="info_table" width="340px" cellspacing=1px
						cellpadding=1px class="sortable">
						<thead>
							<tr>
								
								<th width="120px">
									<s:text name="代码" />
								</th>
								<th width="120px">
									<s:text name="名称" />
								</th>
								<!--<th width="100px">
									<s:text name="默认单位" />
								</th>
							--></tr>
						</thead>
						<tbody>
							<s:form id="delrow" theme="simple">
								<s:if test="!list.isEmpty">
									<s:iterator value="list">
										<tr ondblclick="childToParent('typeId','<s:property value="assistantAttributeTypeId"/>','typeName','<s:property value="assistantAttributeTypeName"/>')">
											
											<td>
												<s:property value="assistantAttributeTypeCode" />
												&nbsp;
											</td>
											<td>
												<s:property value="assistantAttributeTypeName" />
												&nbsp;
											</td>
											<!--<td>
												<s:property value="" />
												&nbsp;
											</td>
										--></tr>
									</s:iterator>
								</s:if>
							</s:form>
						</tbody>
						<tfoot>
							<tr>
							</tr>
						</tfoot>
					</table>
					<script language="javascript">
	//("表格名称","奇数行背景","偶数行背景","点击后背景");
	mouseclick("info_table", "#ffffff", "#ffffff", "#e6f0fd");
	//("表格名称","奇数行背景","偶数行背景");
	//setcolor("t","#ffffff","#ffffff");
</script>
				</div>
			</div>
		</div>
	</body>
</html>


